import {createRouter,createWebHistory} from 'vue-router'

const router=createRouter({
  history:createWebHistory(),
  routes:[
    {
      path:'/',
      redirect:'/login'
    },
    {
      path:'/login',
      component:()=>import("../views/Login.vue")
    },
    {
      path:'/liebiao',
      component:()=>import("../views/LieBiao.vue")
    },
    {
      path:'/licai',
      component:()=>import("../views/LiCai.vue")
    },
    {
      path:'/mingxi',
      component:()=>import("../views/MingXi.vue")
    }
  ]
})

export default router